package com.easm.servicestudent.controller;

import com.easm.commonutils.CommonResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api("学生个人系统")
@RestController
@RequestMapping("/service/studnet")
public class StudentController {
    //info
    @GetMapping("info")
    @ApiOperation("学生信息")
    public CommonResult info() {
        return CommonResult.ok().data("roles","[student]").data("name","student").data("info","学生个人信息");
    }
}
